Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-348

unregistering in the jmx plugin

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.9.12
    • None
    • logback-classic
    • None
    • Operating System: All
      Platform: All

    • 102

    Description

      I started using the JMX plugin of login, and I wondered how should I
      shut it down when a web application is restarted. I haven't found a
      function which unregisters the Configurator MBean. This object holds a
      reference (through ContextAwareBase) to a Context. I am afraid that not
      unregistering it causes a memory leak when a web application is restarted.

      There should be a way to shutdown the JMX plugin. Or more generally an API to shut down the Logback system in its entirety: flush buffers, close files etc. It must be decided what to do if a log request arrives when or after logback is shutting down.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            hontvari3@solware.com Hontvári József
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: